package com.jyw.business.knowledge.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jyw.common.annotation.Excel;
import com.jyw.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 知识库-信息对象 kl_knowledge
 * 
 * @author ruoyi
 * @date 2023-11-17
 */
@Data
@TableName("kl_knowledge")
@ApiModel("知识库-信息实体")
public class KlKnowledge
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 标题 */
    @ApiModelProperty("标题")
    @Excel(name = "标题")
    private String title;

    /** 知识分类 */
    @ApiModelProperty("知识分类")
    @Excel(name = "知识分类")
    private Long type;

    /** 知识份类ID集合 */
    @ApiModelProperty("知识份类ID集合")
    @Excel(name = "知识份类ID集合")
    private String types;

    /** 故障原因 */
    @ApiModelProperty("故障原因")
    @Excel(name = "故障原因")
    private Long causes;

    /** 症状 */
    @ApiModelProperty("症状")
    @Excel(name = "症状")
    private String question;

    /** 解决办法 */
    @ApiModelProperty("解决办法")
    @Excel(name = "解决办法")
    private String answer;

    /** 附件 */
    @ApiModelProperty("附件")
    @Excel(name = "附件")
    private String attrs;

    /** 浏览量 */
    @ApiModelProperty("浏览量")
    @Excel(name = "浏览量")
    private Long viewCount;

    /** 引用次数 */
    @ApiModelProperty("引用次数")
    @Excel(name = "引用次数")
    private Long quoteCount;

    /** 状态(-1已删除0已禁用1已启用) */
    @ApiModelProperty("状态(-1已删除0已禁用1已启用)")
    @Excel(name = "状态(-1已删除0已禁用1已启用)")
    private Long states;

    /** 创建者 */
    @ApiModelProperty("创建者")
    @Excel(name = "创建者")
    private Long createUser;

    /** 修改者 */
    @ApiModelProperty("修改者")
    @Excel(name = "修改者")
    private Long updateUser;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Date updateTime;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Date createTime;

}
